package com.zhilei.service;

import com.zhilei.pojo.ResumeEducation;
import com.zhilei.pojo.bo.EditEducationBO;

import javax.validation.Valid;

/**
 * <p>
 * 教育经历表 服务类
 * </p>
 *
 * @author 志磊
 * @since 2025-02-05
 */
public interface ResumeEducationService {
    /**
     * 查询教育经历
     *
     * @param resumeEducationId 教育表的id
     * @param userId            用户id
     * @return
     */
    ResumeEducation getResumeEducation(String resumeEducationId, String userId);

    /**
     * 保存、编辑教育经历
     *
     * @param editEducationBO 保存教育经历bo类
     * @return
     */
    void resumeEducation(@Valid EditEducationBO editEducationBO);

    /**
     * 删除教育经历
     *
     * @param resumeEducationId 教育表的id
     * @param userId            用户表的id
     * @return
     */
    void deleteResumeEducation(String resumeEducationId, String userId);
}
